3.1.67 \(\int (c x)^m (b x^2)^p \, dx\)

Optimal. Leaf size=22 \[ \frac {x \left (b x^2\right )^p (c x)^m}{m+2 p+1} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {15, 20, 30} \begin {gather*} \frac {x \left (b x^2\right )^p (c x)^m}{m+2 p+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c*x)^m*(b*x^2)^p,x]

[Out]

(x*(c*x)^m*(b*x^2)^p)/(1 + m + 2*p)

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[(a^IntPart[m]*(a*x^n)^FracPart[m])/x^(n*FracPart[m]), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 20

Int[(u_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Dist[(b^IntPart[n]*(b*v)^FracPart[n])/(a^IntPart[n
]*(a*v)^FracPart[n]), Int[u*(a*v)^(m + n), x], x] /; FreeQ[{a, b, m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n]
&&  !IntegerQ[m + n]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int (c x)^m \left (b x^2\right )^p \, dx &=\left (x^{-2 p} \left (b x^2\right )^p\right ) \int x^{2 p} (c x)^m \, dx\\ &=\left (x^{-m-2 p} (c x)^m \left (b x^2\right )^p\right ) \int x^{m+2 p} \, dx\\ &=\frac {x (c x)^m \left (b x^2\right )^p}{1+m+2 p}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 22, normalized size = 1.00 \begin {gather*} \frac {x \left (b x^2\right )^p (c x)^m}{m+2 p+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(c*x)^m*(b*x^2)^p,x]

[Out]

(x*(c*x)^m*(b*x^2)^p)/(1 + m + 2*p)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.03, size = 0, normalized size = 0.00 \begin {gather*} \int (c x)^m \left (b x^2\right )^p \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(c*x)^m*(b*x^2)^p,x]

[Out]

Defer[IntegrateAlgebraic][(c*x)^m*(b*x^2)^p, x]

________________________________________________________________________________________

fricas [A]  time = 0.91, size = 32, normalized size = 1.45 \begin {gather*} \frac {\left (c x\right )^{m} x e^{\left (2 \, p \log \left (c x\right ) + p \log \left (\frac {b}{c^{2}}\right )\right )}}{m + 2 \, p + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^m*(b*x^2)^p,x, algorithm="fricas")

[Out]

(c*x)^m*x*e^(2*p*log(c*x) + p*log(b/c^2))/(m + 2*p + 1)

________________________________________________________________________________________

giac [A]  time = 0.17, size = 29, normalized size = 1.32 \begin {gather*} \frac {x e^{\left (p \log \relax (b) + m \log \relax (c) + m \log \relax (x) + 2 \, p \log \relax (x)\right )}}{m + 2 \, p + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^m*(b*x^2)^p,x, algorithm="giac")

[Out]

x*e^(p*log(b) + m*log(c) + m*log(x) + 2*p*log(x))/(m + 2*p + 1)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 23, normalized size = 1.05 \begin {gather*} \frac {x \left (b \,x^{2}\right )^{p} \left (c x \right )^{m}}{m +2 p +1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x)^m*(b*x^2)^p,x)

[Out]

x*(c*x)^m*(b*x^2)^p/(m+2*p+1)

________________________________________________________________________________________

maxima [A]  time = 1.37, size = 27, normalized size = 1.23 \begin {gather*} \frac {b^{p} c^{m} x e^{\left (m \log \relax (x) + 2 \, p \log \relax (x)\right )}}{m + 2 \, p + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^m*(b*x^2)^p,x, algorithm="maxima")

[Out]

b^p*c^m*x*e^(m*log(x) + 2*p*log(x))/(m + 2*p + 1)

________________________________________________________________________________________

mupad [B]  time = 0.96, size = 22, normalized size = 1.00 \begin {gather*} \frac {x\,{\left (c\,x\right )}^m\,{\left (b\,x^2\right )}^p}{m+2\,p+1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x)^m*(b*x^2)^p,x)

[Out]

(x*(c*x)^m*(b*x^2)^p)/(m + 2*p + 1)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} \frac {b^{p} c^{m} x x^{m} \left (x^{2}\right )^{p}}{m + 2 p + 1} & \text {for}\: m \neq - 2 p - 1 \\\int \left (b x^{2}\right )^{p} \left (c x\right )^{- 2 p - 1}\, dx & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)**m*(b*x**2)**p,x)

[Out]

Piecewise((b**p*c**m*x*x**m*(x**2)**p/(m + 2*p + 1), Ne(m, -2*p - 1)), (Integral((b*x**2)**p*(c*x)**(-2*p - 1)
, x), True))

________________________________________________________________________________________